package com.example.demo.services;


import com.example.demo.domain.Order;

import java.util.List;


public interface OrderService {
    public int insertOrder(Order order);

    public Order getOrder(int orderId);

    public List<Order> getOrdersByUsername(String username);

    public int getNextId(String name);
}
